A Brush to fill a texture with.
The desired width of a texture.
The desired height of a texture.
GetBitmap Method
Creates a System.Windows.Media.Imaging.WriteableBitmap with the given dimensions and fills it using the brush.
Syntax
protected WriteableBitmap GetBitmap( 
   Brush brush,
   int width,
   int height
)

Parameters

brush
A Brush to fill a texture with.
width
The desired width of a texture.
height
The desired height of a texture.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also